package com.example.springboot.service;

import com.example.springboot.model.Student;

import java.util.List;

/**
 * @author NardinVN
 */
//@Service
public interface StudentService {
    // Методы CRUD
    List<Student> findAllStudents();

    Student saveStudent(Student student);

    Student findByEmail(String email);

    Student updateStudent(Student student);

    public void deleteStudent(String email);
}
